package cn.qzuie.smart.module.dorm.controller.admin.assettype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 资产类型新增/修改 Request VO")
@Data
public class AssetTypeSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26190")
    private Long id;

    @Schema(description = "分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "分类不能为空")
    private String name;

    @Schema(description = "父编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29701")
    @NotNull(message = "父编号不能为空")
    private Long parentId;

    @Schema(description = "说明", example = "随便")
    private String description;

}